/**
 * Copyright (C) 2010 D. Zoller, M. Richter, M. Blumenstein & W. Biller
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.googlecode.siafu.rest.model;

import javax.xml.bind.annotation.XmlAttribute;

/**
 * @author D. Zoller
 * @version $Id: Mark.java,v 1.3 2010-06-13 13:31:37 nosebrain Exp $
 */
public class Mark {
	
	/**
	 * @author D. Zoller
	 */
	public enum MarkStyle {
		/**
		 * 
		 */
		BALLOON,
		
		/**
		 * 
		 */
		SPOT,
		
		/**
		 * 
		 */
		STICK;
	}
	
	private MarkStyle style;
	private String color;
	
	/**
	 * @param style the style to set
	 */
	public void setStyle(MarkStyle style) {
		this.style = style;
	}
	
	/**
	 * @return the style
	 */
	@XmlAttribute(required = true)
	public MarkStyle getStyle() {
		return style;
	}

	/**
	 * @param color the color to set
	 */
	public void setColor(String color) {
		this.color = color;
	}

	/**
	 * @return the color
	 */
	@XmlAttribute
	public String getColor() {
		return color;
	}
}
